﻿using WebsiteImages.Models;

namespace WebsiteImages.Repository
{
    public class BaseRepository
    {
        protected MyContext DB = new MyContext();

        public void SaveChanges()
        {
            DB.SaveChanges();
        }

        public void Dispose()
        {
            DB.Dispose();
        }
    }
}